home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / TOPICS.DIR / TOP.DIR / command-line-edit.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  2.1 KB  |  44 lines

  1. COMMAND LINE EDITING
  2.  
  3. You can edit the command line in MM, by using a set of control characters
  4. similar to emacs.  In the following, ^A indicates control-A, and so on.
  5.  
  6. Move cursor:  ^B back 1 character            ^F forward 1 character
  7.               ^A to beginning of line        ^E to end of line
  8. Delete:   BACKSPACE character before cursor  ^H same as BACKSPACE
  9.               ^D character at cursor         ^K from cursor to end of line
  10.               ^W word at/before cursor       ^U entire line
  11. Insert:       Characters are inserted wherever the cursor is
  12. Transpose:    ^T transpose character at cursor with the one before it
  13.  
  14. Example: Suppose you want to see headers from melissa since Nov 19, 1990.
  15.   Your fingers slip as you start to type and you stop midway:
  16.        MM>g form mel
  17.   As an example, to fix the two errors and continue you could do this:
  18.   ^A to start of line, ^D to delete "g", type "h", ^F a few times to the
  19.   "r", ^T to transpose "r" and "o", ^E to end of line, then type the rest:
  20.        MM>h from mel since nov 19 1990
  21.   Actually in this case it might be as easy to type ^U and retype completely.
  22.   
  23. The full set of control letters is as follows:
  24.  
  25. ^A  Cursor to start of line        ^N  Do next command in history
  26. ^B  Cursor back 1 character             ^O  [does nothing]
  27. ^C  Kill MM (not recommended)        ^P  Do previous command in history
  28. ^D  Delete 1 character at cursor    ^Q  Put output on screen [see ^S]
  29. ^E  Cursor to end of line        ^R  Redisplay line
  30. ^F  Cursor forward 1 character        ^S  Stop output to screen [see ^Q]
  31. ^G  [invalid command]            ^T  Transpose 2 characters at cursor
  32. ^H  Backspace and delete        ^U  Delete entire line
  33. ^I  Completion, same as TAB key        ^V  Quote next character
  34. ^J  Newline, same as RETURN key        ^W  Delete word at/before cursor
  35. ^K  Delete from cursor to end           ^X  [invalid command]
  36. ^L  Clear screen            ^Y  Suspend MM
  37. ^M  Return, same as RETURN key        ^Z  Suspend MM
  38.  
  39. For ^N, ^P, see "help command-history".  You can redisplay a command from
  40.   history, and then edit parts of it, to avoid retyping the whole line.
  41.     
  42. For more help type "help" and one of these topics:
  43.   ccmd   command-history   
  44.